package com.rightsidetech.activity.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * mt_activity_rule
 * @author 
 */
public class MtActivityRule implements Serializable {
    /**
     * 主键
     */
    private Long id;

    /**
     * 活动id
     */
    private Long actId;

    /**
     * 规则类型，对应dic
     */
    private String mold;

    /**
     * 具体条件，展示用()
     */
    private String conditions;

    /**
     * 条件值(多条件json)
     */
    private String conditionValue;

    /**
     * 表达式字段
     */
    private String expressionField;

    /**
     * 表达式，方便条件查询
     */
    private String expression;

    /**
     * 创建时间
     */
    private Date createdAt;

    /**
     * 修改时间
     */
    private Date updatedAt;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getActId() {
        return actId;
    }

    public void setActId(Long actId) {
        this.actId = actId;
    }

    public String getMold() {
        return mold;
    }

    public void setMold(String mold) {
        this.mold = mold;
    }

    public String getConditions() {
        return conditions;
    }

    public void setConditions(String conditions) {
        this.conditions = conditions;
    }

    public String getConditionValue() {
        return conditionValue;
    }

    public void setConditionValue(String conditionValue) {
        this.conditionValue = conditionValue;
    }

    public String getExpressionField() {
        return expressionField;
    }

    public void setExpressionField(String expressionField) {
        this.expressionField = expressionField;
    }

    public String getExpression() {
        return expression;
    }

    public void setExpression(String expression) {
        this.expression = expression;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }
}